// Lean compiler output
// Module: Lean.Data.Lsp.CancelParams
// Imports: public import Lean.Data.JsonRpc
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
LEAN_EXPORT lean_object* l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCancelParams_toJson_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCancelParams;
static lean_object* l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__1;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqCancelParams;
lean_object* l_Lean_Json_mkObj(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__10;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCancelParams_toJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instToJsonCancelParams_toJson___closed__0;
static lean_object* l_Lean_Lsp_instInhabitedCancelParams_default___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__4;
lean_object* l_List_foldl___at___00Array_appendList_spec__0___redArg(lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instBEqCancelParams___closed__0;
extern lean_object* l_Lean_JsonRpc_instInhabitedRequestID_default;
static lean_object* l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__8;
lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__9;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCancelParams;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCancelParams_fromJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__0;
lean_object* lean_array_to_list(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__3;
uint8_t l_Lean_JsonRpc_instBEqRequestID_beq(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__2;
static lean_object* l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__11;
LEAN_EXPORT lean_object* l_Lean_Lsp_instInhabitedCancelParams;
static lean_object* l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__7;
LEAN_EXPORT uint8_t l_Lean_Lsp_instBEqCancelParams_beq(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqCancelParams_beq___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__6;
lean_object* l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(lean_object*, uint8_t);
static lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0___closed__1;
LEAN_EXPORT lean_object* l_Lean_Lsp_instInhabitedCancelParams_default;
static lean_object* l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__5;
lean_object* l_Lean_Name_mkStr1(lean_object*);
lean_object* lean_string_append(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0___closed__0;
static lean_object* l_Lean_Lsp_instToJsonCancelParams_toJson___closed__1;
static lean_object* l_Lean_Lsp_instToJsonCancelParams___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonCancelParams___closed__0;
static lean_object* _init_l_Lean_Lsp_instInhabitedCancelParams_default___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_JsonRpc_instInhabitedRequestID_default;
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instInhabitedCancelParams_default() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instInhabitedCancelParams_default___closed__0;
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instInhabitedCancelParams() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instInhabitedCancelParams_default___closed__0;
return x_1;
}
}
LEAN_EXPORT uint8_t l_Lean_Lsp_instBEqCancelParams_beq(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = l_Lean_JsonRpc_instBEqRequestID_beq(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqCancelParams_beq___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lean_Lsp_instBEqCancelParams_beq(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instBEqCancelParams___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instBEqCancelParams_beq___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instBEqCancelParams() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instBEqCancelParams___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCancelParams_toJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_3; 
x_3 = lean_array_to_list(x_2);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
x_5 = lean_ctor_get(x_1, 1);
lean_inc(x_5);
lean_dec_ref(x_1);
x_6 = l_List_foldl___at___00Array_appendList_spec__0___redArg(x_2, x_4);
x_1 = x_5;
x_2 = x_6;
goto _start;
}
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonCancelParams_toJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("id", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonCancelParams_toJson___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCancelParams_toJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_Lsp_instToJsonCancelParams_toJson___closed__0;
switch (lean_obj_tag(x_1)) {
case 0:
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_1);
if (x_12 == 0)
{
lean_ctor_set_tag(x_1, 3);
x_3 = x_1;
goto block_11;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_1, 0);
lean_inc(x_13);
lean_dec(x_1);
x_14 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_14, 0, x_13);
x_3 = x_14;
goto block_11;
}
}
case 1:
{
uint8_t x_15; 
x_15 = !lean_is_exclusive(x_1);
if (x_15 == 0)
{
lean_ctor_set_tag(x_1, 2);
x_3 = x_1;
goto block_11;
}
else
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_1, 0);
lean_inc(x_16);
lean_dec(x_1);
x_17 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_17, 0, x_16);
x_3 = x_17;
goto block_11;
}
}
default: 
{
lean_object* x_18; 
x_18 = lean_box(0);
x_3 = x_18;
goto block_11;
}
}
block_11:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_2);
lean_ctor_set(x_4, 1, x_3);
x_5 = lean_box(0);
x_6 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_6, 0, x_4);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_5);
x_8 = l_Lean_Lsp_instToJsonCancelParams_toJson___closed__1;
x_9 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCancelParams_toJson_spec__0(x_7, x_8);
x_10 = l_Lean_Json_mkObj(x_9);
return x_10;
}
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonCancelParams___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonCancelParams_toJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonCancelParams() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instToJsonCancelParams___closed__0;
return x_1;
}
}
static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("a request id needs to be a number or a string", 45, 45);
return x_1;
}
}
static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0___closed__0;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
switch (lean_obj_tag(x_3)) {
case 3:
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; 
lean_ctor_set_tag(x_3, 0);
x_5 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_5, 0, x_3);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_6 = lean_ctor_get(x_3, 0);
lean_inc(x_6);
lean_dec(x_3);
x_7 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_7, 0, x_6);
x_8 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
case 2:
{
uint8_t x_9; 
x_9 = !lean_is_exclusive(x_3);
if (x_9 == 0)
{
lean_object* x_10; 
lean_ctor_set_tag(x_3, 1);
x_10 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_10, 0, x_3);
return x_10;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_11 = lean_ctor_get(x_3, 0);
lean_inc(x_11);
lean_dec(x_3);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
x_13 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_13, 0, x_12);
return x_13;
}
}
default: 
{
lean_object* x_14; 
lean_dec(x_3);
x_14 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0___closed__1;
return x_14;
}
}
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lsp", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("CancelParams", 12, 12);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__2;
x_2 = l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__1;
x_3 = l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__0;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__4() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__3;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(".", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__5;
x_2 = l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__4;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonCancelParams_toJson___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__8() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__7;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__8;
x_2 = l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__6;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(": ", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__10;
x_2 = l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__9;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCancelParams_fromJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_Lsp_instToJsonCancelParams_toJson___closed__0;
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__11;
x_7 = lean_string_append(x_6, x_5);
lean_dec(x_5);
lean_ctor_set(x_3, 0, x_7);
return x_3;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_ctor_get(x_3, 0);
lean_inc(x_8);
lean_dec(x_3);
x_9 = l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__11;
x_10 = lean_string_append(x_9, x_8);
lean_dec(x_8);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
else
{
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_3);
if (x_12 == 0)
{
lean_ctor_set_tag(x_3, 0);
return x_3;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_3, 0);
lean_inc(x_13);
lean_dec(x_3);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
uint8_t x_15; 
x_15 = !lean_is_exclusive(x_3);
if (x_15 == 0)
{
return x_3;
}
else
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_3, 0);
lean_inc(x_16);
lean_dec(x_3);
x_17 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_17, 0, x_16);
return x_17;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCancelParams___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonCancelParams_fromJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCancelParams() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instFromJsonCancelParams___closed__0;
return x_1;
}
}
lean_object* initialize_Lean_Data_JsonRpc(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Data_Lsp_CancelParams(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Data_JsonRpc(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Lsp_instInhabitedCancelParams_default___closed__0 = _init_l_Lean_Lsp_instInhabitedCancelParams_default___closed__0();
lean_mark_persistent(l_Lean_Lsp_instInhabitedCancelParams_default___closed__0);
l_Lean_Lsp_instInhabitedCancelParams_default = _init_l_Lean_Lsp_instInhabitedCancelParams_default();
lean_mark_persistent(l_Lean_Lsp_instInhabitedCancelParams_default);
l_Lean_Lsp_instInhabitedCancelParams = _init_l_Lean_Lsp_instInhabitedCancelParams();
lean_mark_persistent(l_Lean_Lsp_instInhabitedCancelParams);
l_Lean_Lsp_instBEqCancelParams___closed__0 = _init_l_Lean_Lsp_instBEqCancelParams___closed__0();
lean_mark_persistent(l_Lean_Lsp_instBEqCancelParams___closed__0);
l_Lean_Lsp_instBEqCancelParams = _init_l_Lean_Lsp_instBEqCancelParams();
lean_mark_persistent(l_Lean_Lsp_instBEqCancelParams);
l_Lean_Lsp_instToJsonCancelParams_toJson___closed__0 = _init_l_Lean_Lsp_instToJsonCancelParams_toJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonCancelParams_toJson___closed__0);
l_Lean_Lsp_instToJsonCancelParams_toJson___closed__1 = _init_l_Lean_Lsp_instToJsonCancelParams_toJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instToJsonCancelParams_toJson___closed__1);
l_Lean_Lsp_instToJsonCancelParams___closed__0 = _init_l_Lean_Lsp_instToJsonCancelParams___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonCancelParams___closed__0);
l_Lean_Lsp_instToJsonCancelParams = _init_l_Lean_Lsp_instToJsonCancelParams();
lean_mark_persistent(l_Lean_Lsp_instToJsonCancelParams);
l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0___closed__0 = _init_l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0___closed__0();
lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0___closed__0);
l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0___closed__1();
lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCancelParams_fromJson_spec__0___closed__1);
l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__0);
l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__1 = _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__1);
l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__2 = _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__2);
l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__3 = _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__3();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__3);
l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__4 = _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__4();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__4);
l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__5 = _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__5();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__5);
l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__6 = _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__6();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__6);
l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__7 = _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__7();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__7);
l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__8 = _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__8();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__8);
l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__9 = _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__9();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__9);
l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__10 = _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__10();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__10);
l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__11 = _init_l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__11();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCancelParams_fromJson___closed__11);
l_Lean_Lsp_instFromJsonCancelParams___closed__0 = _init_l_Lean_Lsp_instFromJsonCancelParams___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCancelParams___closed__0);
l_Lean_Lsp_instFromJsonCancelParams = _init_l_Lean_Lsp_instFromJsonCancelParams();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCancelParams);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
